package com.share.core.type;

/**
 * @author caifan
 * @created 2021/8/11
 * description:
 */
public enum ShardingType {
    SHARDING_DATABASES("分库"),

    SHARDING_TABLES("分表"),

    SHARDING_DATABASES_AND_TABLES("分库分表"),

    SHARDING_SHADOW_DATABASES("影子库"),

    ENCRYPT_SHADOW("影子加密"),

    READWRITE_SPLITTING("读写分离"),

    READWRITE_SPLITTING_SHADOW("影子读写分离"),

    SHARDING_READWRITE_SPLITTING("读写分离"),

    ENCRYPT("加密"),

    SHADOW("影子");

    private String description;

    ShardingType(String description) {
        this.description = description;
    }
}
